package com.ruoyi.supplier.domain.vo.product;

import com.ruoyi.common.mybatis.core.page.PageQuery;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * 商品记录视图对象
 *
 * @author ruoyi
 * @date 2023-09-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ProductPageVo extends PageQuery {

    /**
     * 供货商id
     */
    @NotNull(message = "供货商id不能为空")
    private Integer supplierId;

    /**
     * 关键词
     */
    private String keyword;

}
